package com.demo;

import com.demo.dao.UserDao;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.tomcat.jdbc.pool.DataSource;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;

/**
 * Created by HTJ on 2017/12/13.
 */
@SpringBootApplication
@MapperScan("com.demo.dao")
public class SpringBootStarter {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(SpringBootStarter.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.run();
    }
}
